   $('#Activate').click(  function(){
	   alert('dddddddddd');
	   if($('#authorizeForm').valid()) {
   		formData = ($('#authorizeForm').serializeArray());
   				alert('{"priviledge":"'+$("#priv").val()+'","whereClause" : {"aaCode" : "'+ $("#modId").val() +'"},"updateClause":'+ converter(formData)+ '}');
   				$.ajax({
   						async:false,
   						cache: false,
   						url : 'http://localhost:8080/easyskool/rest/userauthservice/activateAccount',
						type : 'POST',
						data : '{"priviledge":"'+$("#priv").val()+'","whereClause" : {"aaCode" : "'+ $("#modId").val() +'"},"updateClause":'+ converter(formData)+ '}',
						dataType : 'json',
						contentType : "application/json; charset=utf-8",
						success : function(data,testStatus,response) {
							alert("FFFF");
							var json = jQuery.parseJSON(response.responseText);
					
   							if(json.update == "success"){
   								alert("j");
   								window.location = "http://localhost:8080/easyskool/WebPages/Login/login.jsp";
   							} else{
   								alert("Error: ! "+ jqXHR.responseText);
   							}
						}
   					});
	   			}
	   return false;
        });
    